/**
 * Copyright(c) 2013-2015 by Puhuifinance Inc.
 * All Rights Reserved
 */
package com.puhui.chome.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.puhui.chome.manager.MonitorCcManager;
import com.puhui.chome.model.MonitorCc;
import com.puhui.chome.service.MonitorCcService;

/**
 * @author dingxingang
 */
@Service
public class MonitorCcServiceImpl implements MonitorCcService {

	@Autowired
	private MonitorCcManager monitorCcManager;

	/**
	 * 添加
	 */
	@Override
	public void addMonitorCc(MonitorCc monitorCc) {
		monitorCcManager.addMonitorCc(monitorCc);
	}

	/**
	 * 获取
	 */
	@Override
	public MonitorCc getMonitorCcById(Long id) {
		return monitorCcManager.getMonitorCcById(id);
	}

	/**
	 * 查询总记录数
	 */
	@Override
	public long findMonitorCcCount(Map<String, Object> param) {
		return monitorCcManager.findMonitorCcCount(param);
	}

	/**
	 * 查询列表
	 */
	@Override
	public List<MonitorCc> findMonitorCc(Map<String, Object> param) {
		return monitorCcManager.findMonitorCc(param);
	}

	/**
	 * 修改
	 * 
	 * @param monitorCc
	 */
	public void updateMonitorCc(MonitorCc monitorCc) {
		monitorCcManager.updateMonitorCc(monitorCc);
	}

	/**
	 * 删除
	 * 
	 * @param id
	 */
	public void deleteMonitorCc(Long id) {
		monitorCcManager.deleteMonitorCc(id);
	}

}
